package com.itbaizhan.service;

import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.annotation.Method;
import org.springframework.stereotype.Service;

/**
 * @author spf
 * @date 2024/3/10
 * @time 20:04
 */

@Service
@DubboService(timeout = 5000, methods = {@Method(name = "index", retries = 2)}, cluster = "failfast")
public class PaymentServiceImpl implements IPaymentService{
    @Override
    public String index() {
        return "index";
    }
}
